package cn.tedu.carehome.foundation.mapper;

import cn.tedu.carehome.foundation.pojo.entity.Room;
import cn.tedu.carehome.foundation.pojo.vo.RoomStandardVO;
import org.springframework.stereotype.Repository;

@Repository
public interface RoomMapper {
    int insert(Room room);

    int countByCheckId(Long checkId);
    int countByCheckIdNotbedID(Long bedId,Long checkId);

    int update(Room room);

    RoomStandardVO getStandardByid(Long bedId);
}
